﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shop.Wares.Models
{
    /// <summary>
    /// 商品类别信息
    /// </summary>
    public class WaresCategory
    {
        /// <summary>
        /// 类别ID
        /// </summary>
        public int CID { get; set; }
        /// <summary>
        /// 类别名
        /// </summary>
        public string CName { get; set; }
        /// <summary>
        /// 置顶时间
        /// </summary>
        public DateTime OrderTime { get; set; }
        /// <summary>
        /// 类别描述
        /// </summary>
        public string Describe { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime Createdate { get; set; }
    }

    public class WaresSale
    {

        public int WID { get; set; }

        public string WName { get; set; }

        public int SaleNum { get; set; }

        public int Stock { get; set; }

        public string PPrice { get; set; }
    }

    public class WaresCount
    {

        public int WID { get; set; }
       
    }

    public class WaresSaleModel
    {
        public int code { get; set; }
        public int count { get; set; }
        public string msg { get; set; }
        public List<WaresSale> data { get; set; }
    }
}
